package com.care.system.common.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.care.common.core.annotation.Excel;
import com.care.common.core.web.domain.BaseEntity;

/**
 * 我的钱包对象 t_purse
 *
 * @author 李光耀负责
 * @date 2024-03-25
 */
public class TPurse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 钱包编号 */
    @Excel(name = "钱包编号")
    private Long purseId;

    /** 用户编号 */
    @Excel(name = "用户编号")
    private Long userId;

    /** 钱包金额 */
    @Excel(name = "钱包金额")
    private BigDecimal pursePrice;

    /** 创建时间 */
    private Date creationTime;

    /** 修改时间 */
    private Date modifyTime;

    /** 剩余积分 */
    @Excel(name = "剩余积分")
    private Long purseIntegral;

    public void setPurseId(Long purseId)
    {
        this.purseId = purseId;
    }

    public Long getPurseId()
    {
        return purseId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setPursePrice(BigDecimal pursePrice)
    {
        this.pursePrice = pursePrice;
    }

    public BigDecimal getPursePrice()
    {
        return pursePrice;
    }
    public void setCreationTime(Date creationTime)
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime()
    {
        return creationTime;
    }
    public void setModifyTime(Date modifyTime)
    {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime()
    {
        return modifyTime;
    }
    public void setPurseIntegral(Long purseIntegral)
    {
        this.purseIntegral = purseIntegral;
    }

    public Long getPurseIntegral()
    {
        return purseIntegral;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("purseId", getPurseId())
            .append("userId", getUserId())
            .append("pursePrice", getPursePrice())
            .append("creationTime", getCreationTime())
            .append("modifyTime", getModifyTime())
            .append("purseIntegral", getPurseIntegral())
            .toString();
    }
}
